package com.stylefeng.guns.rest.common.persistence.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 周边店铺员工表
 * </p>
 *
 * @author ruiyifeng123
 * @since 2019-03-03
 */
@TableName("wz_adv_map_staff")
public class WzAdvMapStaff extends Model<WzAdvMapStaff> {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "adv_map_staff_id", type = IdType.AUTO)
    private Long advMapStaffId;
    /**
     * 周边店铺id
     */
    @TableField("adv_map_id")
    private Long advMapId;
    /**
     * 用户编号
     */
    @TableField("user_code")
    private Long userCode;
    /**
     * 创建时间b   
     */
    @TableField("create_time")
    private Date createTime;


    public Long getAdvMapStaffId() {
        return advMapStaffId;
    }

    public void setAdvMapStaffId(Long advMapStaffId) {
        this.advMapStaffId = advMapStaffId;
    }

    public Long getAdvMapId() {
        return advMapId;
    }

    public void setAdvMapId(Long advMapId) {
        this.advMapId = advMapId;
    }

    public Long getUserCode() {
        return userCode;
    }

    public void setUserCode(Long userCode) {
        this.userCode = userCode;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.advMapStaffId;
    }

    @Override
    public String toString() {
        return "WzAdvMapStaff{" +
        "advMapStaffId=" + advMapStaffId +
        ", advMapId=" + advMapId +
        ", userCode=" + userCode +
        ", createTime=" + createTime +
        "}";
    }
}
